<?php /* Smarty version Smarty-3.1.13, created on 2013-08-08 09:39:35
         compiled from "/var/www/html/templates/en/import_newsletter_users/main.tpl" */ ?>
<?php /*%%SmartyHeaderCode:87807670751fe9c6185d619-10140521%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b8a4db5ae0b87bcf6905df9854640730143caf51' => 
    array (
      0 => '/var/www/html/templates/en/import_newsletter_users/main.tpl',
      1 => 1375809480,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '87807670751fe9c6185d619-10140521',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_51fe9c619003c9_33365776',
  'variables' => 
  array (
    'action' => 0,
    'link_return' => 0,
    'arrMsg' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51fe9c619003c9_33365776')) {function content_51fe9c619003c9_33365776($_smarty_tpl) {?><!-- Content Area -->

<script>
 function checkFile() 
 {
	  var s = document.getElementById('file_source'); 
		if(null != s && '' == s.value) {
			alert('Define file name'); 
			s.focus(); 
			return false;
		}
		return true;
 }
</script> 

<div class="dma-thumbnail">
    <div class="content">
        <form name="frmAdmin" action="<?php echo $_smarty_tpl->tpl_vars['action']->value;?>
" method="post" enctype="multipart/form-data" onSubmit="return checkFile();">    
        <div class="header">
            
            <h1 class="page-title">Import: Newsletter Users</h1>
        </div>
        
        <ul class="breadcrumb">
            <li><a href="#">Home</a> <span class="divider">/</span></li>
            <li><a href="<?php echo $_smarty_tpl->tpl_vars['link_return']->value;?>
">Group</a> <span class="divider">/</span></li>
            <li class="active">Import</li>
        </ul>        
		<?php if ($_smarty_tpl->tpl_vars['arrMsg']->value){?>
        <div class="alert alert-success">
         <button class="close" data-dismiss="alert" type="button">×</button>
        <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['arrMsg']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
        	<div><?php echo $_smarty_tpl->tpl_vars['item']->value;?>
</div>
        <?php } ?>       
        </div>
        <?php }?>    
        <div class="container-fluid">
        	
            <div class="row-fluid">
                <div class="btn-toolbar">
                    <button  name="Go" class="btn btn-primary" type="submit"><i class="icon-save"></i> Import</button>
                    <a href="<?php echo $_smarty_tpl->tpl_vars['link_return']->value;?>
" data-toggle="modal" class="btn">Cancel</a>
                  <div class="btn-group">
                  </div>
                </div>
                <div class="well">
                    
                    <label>Source Excel file to import</label>
                    <input type="file" name="file_source" id="file_source" >
                	
                </div>                                                       
            </div>
            
        </div>
        </form>
    </div>
</div>
  
  <noscript>
  Warning! JavaScript must be enabled for proper operation of the Administrator backend.
  </noscript>
  <div class="clr"></div>
</div>
<!-- end of content -->

</div>
<?php }} ?>